//
//  EmojiManage.h
//  TestNIMSDK
//
//  Created by jianyong.wang on 2017/6/1.
//  Copyright © 2017年 jianyong.wang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface Emoticon : NSObject
@property (nonatomic,strong)    NSString    *emoticonID;
@property (nonatomic,strong)    NSString    *tag;
@property (nonatomic,strong)    NSString    *filename;
@end
@interface JYEmojiManager : NSObject
@property(nonatomic,strong)NSMutableArray * catalogs;
+ (instancetype)sharedManager;

/**
 根据tag name属性 获取表情包所有属性 包括图片名字

 @param tag 【大笑】
 @return 表情属性
 */
- (Emoticon *)emoticonByTag:(NSString *)tag;

/**
 Emoji表情View上面的删除图片的点击事件

 @param text <#text description#>
 @return <#return value description#>
 */
-(NSUInteger)rangOfLastEmotion:(NSString *)text;
/**
 系统键盘，删除字符串

 @param textView textview
 */
- (void)deleteString:(UITextView *)textView;
@end
